﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MAT.Controllers;


namespace MAT
{
    public partial class frmOption : Form
    {
        
        Controllers.ctrOption _frmOption = new Controllers.ctrOption();
        
        public frmOption()
        {
            InitializeComponent();
            _frmOption.FrmOption = this;
        }

        private void btnRequest_Click(object sender, EventArgs e)
        {
            _frmOption.btnRequest_Click();
        }

        private void frmOption_Load(object sender, EventArgs e)
        {
            _frmOption.frmOption_Load();
        }

        private void btnUserAccount_Click(object sender, EventArgs e)
        {
            _frmOption.btnUserAccount_Click();
        }

        private void btnAction_Click(object sender, EventArgs e)
        {
            _frmOption.btnAction_Click();
        }

        private void btnManage_Click(object sender, EventArgs e)
        {
            _frmOption.btnManage_Click();
        }

        private void btnReport_Click(object sender, EventArgs e)
        {
            _frmOption.btnReport_Click();
        }

        private void btnAboutUs_Click(object sender, EventArgs e)
        {
            _frmOption.btnAboutUs_Click();
        }

        private void btnUserAccMini_Click(object sender, EventArgs e)
        {
            _frmOption.btnUserAccMini_Click();
        }

        private void btnActionMini_Click(object sender, EventArgs e)
        {
            _frmOption.btnActionMini_Click();
        }

        private void btnManageMini_Click(object sender, EventArgs e)
        {
            _frmOption.btnManageMini_Click();
        }

        private void btnReportMini_Click(object sender, EventArgs e)
        {
            _frmOption.btnReportMini_Click();
        }

        private void btnRequestMini_Click(object sender, EventArgs e)
        {
            _frmOption.btnRequestMini_Click();
        }

        private void btnAboutMini_Click(object sender, EventArgs e)
        {
            _frmOption.btnAboutMini_Click();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            _frmOption.button1_Click();
        }

        private void labAboutMAT_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Mobile Asset Tracking - MAT \n"
                            + "Jupiter Team \n\n"
                            + "PHAM T.L. Trinh \n"
                            + "HO T. Duc \n"
                            + "NGUYEN H. Phuc \n"
                            + "NGUYEN T. Anh \n"
                            + "NGUYEN T.H. Thanh");
        }

        private void labContent_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start(Application.StartupPath + @"/../../MAT-DOC-User Manual-V3.0.pdf");
        }

        private void labChangePass_Click(object sender, EventArgs e)
        {
            frmChangePassword fCP = new frmChangePassword();
            fCP.ShowDialog();
        }

        private void btnMinimize_Click(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Minimized;
        }

        private void LAB_CLICKED(object sender, EventArgs e)
        {
            _frmOption.LAB_CLICKED(sender,e);
        }

        private void button1_Click_1(object sender, EventArgs e)
        {

        }

    }
}
